package com.ps.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.ps.dto.GoodsSalesDTO;
import com.ps.dto.OrdersPageQueryDTO;
import com.ps.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper extends BaseMapper<Orders> {
    Page<Orders> pageQuery(OrdersPageQueryDTO ordersPageQueryDTO);
    List<GoodsSalesDTO> getSalestop10(LocalDateTime begin, LocalDateTime end);
}
